Praire: A Rule Specification Framework for Query Optimizers
نویسندگان
چکیده
From our experience, current rule-based query optimizers do not provide a very intuitive and well-defined framework to define rules and actions. To remedy this situation, we propose an extensible and structured algebraic framework called Prairie for specifying rules. Prairie facilitates rulewriting by enabling a user to write rules and actions more quickly, correctly and in an easy-to-understand and easyto-debug manner. Query optimizers consist of three major parts: a search space, a cost model and a search strategy. The approach we take is only to develop the algebra which defines the search space and the cost model and use the Volcano optimizergenerator as our search engine. Using Prairie as a frontend, we translate Prairie rules to Volcano to validate our claim that Prairie makes it easier to write rules. We describe our algebra and present experimental results which show that using a high-level framework like Prairie to design large-scale optimizers does not sacrifice efficiency.
منابع مشابه
Prairie: A Rule Specification Framework for Query Optimizers
From our experience, current rule-based query optimizers do not provide a very intuitive and well-defined framework to define rules and actions. To remedy this situation, we propose an extensible and structured algebraic framework called Prairie for specifying rules. Prairie facilitates rulewriting by enabling a user to write rules and actions more quickly, correctly and in an easy-to-understan...
متن کاملSpecifying Rule-Based Query Optimizers in a Reflective Framework
Numerous structures for database query optimizers have been proposed. Many of those proposals aimed at automating the construction of query optimizers from some kind of speciication of optimizer behavior. These speciication frameworks do a good job of partitioning and modularizing the kinds of information needed to generate a query optimizer. Most of them represent at least part of this informa...
متن کاملRule-Based Generation of Logical Query Plans with Controlled Complexity
Rule–based query optimizers are recognized as particularly valuable for extensible and object–oriented database management systems by providing a high flexibility in adapting query optimization strategies to nonstandard application needs. On the other hand rule–based optimizers are problematic with regard to run–time behavior for more complex queries as the generation of query plans based on a ...
متن کاملAn Algebraic Framework for Physical OODB Design
Physical design for object-oriented databases is still in its infancy. Implementation decisions often intrude into the conceptual design (such as inverse links and object decomposition). Furthermore, query optimizers do not always take full advantage of physical design information. This paper proposes a formal framework for physical database design that automates the query translation process. ...
متن کاملApplying Rules for Partitioned Parallelism in OODBMS within an Optimizer Generator Framework
This work presents a rule-based approach for declarative query optimizer generation considering parallel execution in object-oriented databases. The main goal of this work is to provide a framework that can capture relevant aspects of parallel query optimization in a declarative way, combining procedural techniques with the advantages of rule processing. One of those techniques was used for det...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995